Description
Remove the given property of the input document(s) as specified by the 'xpath' parameter. If the property points to a list then clear the list. Removing a property means setting it to null. Return the document(s).
Operation id | Document.RemoveProperty |
Category | Document |
Label | Remove Property |
Requires | |
Since | |
Parameters
Signature
Inputs | document, documents |
Outputs | document, documents |
Implementation Information
Implementation Class |
Class:
org.nuxeo.ecm.automation.core.operations.document.RemoveProperty
|
Contributing Component |
BuiltIn
|
JSON Definition
{
"id" : "Document.RemoveProperty",
"label" : "Remove Property",
"category" : "Document",
"requires" : null,
"description" : "Remove the given property of the input document(s) as specified by the 'xpath' parameter. If the property points to a list then clear the list. Removing a property means setting it to null. Return the document(s).",
"url" : "Document.RemoveProperty",
"signature" : [ "document", "document", "documents", "documents" ],
"params" : [ {
"name" : "xpath",
"description" : null,
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "save",
"description" : null,
"type" : "boolean",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ "true" ]
} ]
}